<template>
  <div @click="clickbanner">
    <div class="editBanner">
      <span>{{ left }}</span>
      <span><slot name="right" /></span>
    </div>
  </div>
</template>

<script>
  export default {
    props: ['left'],
    methods: {
      clickbanner() {
        this.$emit('clickbanner')
      },
    },
  }
</script>

<style lang="stylus" scoped>
  @import '~styles/mixins.styl'

  .editBanner
    background-color: white
    padding: 4.167vw 15px
    // padding-left: 15px
    color: #333
    font-size: 3.889vw
    border-botton: 0.278vw solid #eee
    display: flex
    align-items: center
    justify-content: space-between
</style>